package com.datasure.domain.entity;

import com.datasure.domain.entity.base.Entity;
import com.datasure.types.StringId;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Data;
import lombok.Setter;

/**
 * @author zhangxiaolong
 * @ClassName DeviceEx.java
 * @Description
 * @createTime 2022年01月13日 15:05:00
 */

@Builder
@Data
@Setter(value = AccessLevel.PRIVATE)
public class DeviceEx implements Entity<StringId> {
    @Override
    public StringId getId() {
        return deviceUniqueId;
    }

    private StringId deviceUniqueId;

    private String vncPort;

    private String vncPwd;

    private String deviceBindUuid;

    private Byte deviceBindStatus;

    private String deviceWip;

    private Byte deviceWipUsed;

    public DeviceEx(StringId deviceUniqueId, String vncPort, String vncPwd, String deviceBindUuid, Byte deviceBindStatus, String deviceWip, Byte deviceWipUsed) {
        this.deviceUniqueId = deviceUniqueId;
        this.vncPort = vncPort;
        this.vncPwd = vncPwd;
        this.deviceBindUuid = deviceBindUuid;
        this.deviceBindStatus = deviceBindStatus;
        this.deviceWip = deviceWip;
        this.deviceWipUsed = deviceWipUsed;
    }
}
